﻿using Microsoft.EntityFrameworkCore;
using System.Linq;

namespace EFCoreDemo
{
    /// <summary>
    /// IRepository
    /// </summary>
    public interface IRepository
    {
    }

    /// <summary>
    /// IRepository
    /// </summary>
    public interface IRepository<TDbContext> : IRepository  where TDbContext : DbContext
    {
        TDbContext DbContext { get;}
    }

    /// <summary>
    /// IRepository
    /// </summary>
    public interface IRepository<TEntity, TKey, TDbContext> : IRepository<TDbContext>, IExcuteRepository<TEntity, TKey>, IFastBulkRepository<TEntity>, IQueryable<TEntity> where TDbContext : DbContext where TEntity : IEntity<TKey>
    {
    }
}
